from pythonbuilder.core import init, use_plugin

use_plugin("python.core")
use_plugin("python.unittest")
use_plugin("python.coverage")
use_plugin("python.pychecker")
use_plugin("python.pymetrics")
use_plugin("python.distutils")
use_plugin("python.pydev")

default_task = ["analyze", "publish"]
#default_task = "analyze"

version = "0.1-SNAPSHOT"
summary = "A replacement for the rpm-config-maker written in Python"
author = "Alexander Metzner, Patrick Kranz"
author_email = "alexander.metzner@immobilienscout24.de, patrick.kranz@immobilienscout24.de"

@init
def init (project):
    project.set_property("distutils_commands", ("sdist", "bdist_dumb", "bdist_rpm"))
    project.set_property("pychecker_break_build", True)
    project.set_property("pychecker_break_build_threshold", 1)